{
success:true,
data:[
<#if pageRecords?exists && pageRecords?has_content >
<#assign count=-1 >
<#list pageRecords as each>
<#if webHelper.haspermission(each) >
<#assign count=count+1 >
<#if (count >0)>,</#if>
{
id:"${each.id?if_exists}",
<#if each.children?exists&&each.children?has_content >
<#assign i=-1 >
menu : {
items : [
<#list each.children as eachOne>
<#if webHelper.haspermission(eachOne) >
<#assign i=i+1 >
<#if (i >0)>,</#if>

{
id:"${eachOne.id?if_exists}",
text: "${eachOne.name?if_exists}",
iconCls : "blist",
module : "${eachOne.actionUrl?if_exists}"
}

</#if>
</#list>
]
},
</#if>
module : "${each.actionUrl?if_exists}",
iconCls : 'blist',
text: "${each.name?if_exists}"
}
</#if>
</#list>
</#if>
]
}